package com.atguigu.admin.service;

import com.atguigu.admin.model.entity.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户角色 服务类
 * </p>
 *
 * @author atguigu
 * @since 2022-10-28
 */
public interface SysUserRoleService extends IService<SysUserRole> {

    /**
     * 获取用户的角色集合
     *
     * @param userId
     * @return
     */
    List<SysUserRole> getSysUserRoles(Long userId);
}
